package org.example;

import org.junit.Test;
import team.first.dataimport.GenreImport;
import team.first.dataimport.MovieImport;
import team.first.dataimport.StaffImport;
import team.first.dataimport.UserImport;

import java.util.Date;

/**
 * @Author: HAPPY
 * @Project_name: project
 * @Package_name: org.example
 * @Date: 2021/12/20 19:41
 * @Description:
 */
public class MultiThreadBase {
    public static void main(String[] args) {
        new Thread(new Runnable() {
           @Override
           public void run() {
               GenreImport.genreImport();
           }
       }).start();
        new Thread(new Runnable() {
            @Override
            public void run() {
                MovieImport.movieImport();
            }
        }).start();
        new Thread(new Runnable() {
            @Override
            public void run() {
                StaffImport.staffImport();
            }
        }).start();
        new Thread(new Runnable() {
            @Override
            public void run() {
                UserImport.userImport();
            }
        }).start();

    }
}
